package cn.hls.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

/**
 * @fileName: SaferyCard.java
 * @package: cn.hls.entity 　*@ Description:货物安全卡 　*@author: uuhui@163.com
 * @date: 2016年6月9日
 * 
 */
@Entity
@Table(name = "t_safety_card")
@DynamicUpdate
@DynamicInsert
public class SafetyCard extends BaseEntity {
	 
	private static final long serialVersionUID = 4654727148443181971L;
	private String code;//安全卡编号
	private String name;//安全卡名称
	private String path;//安全附件路径
	private String code2;//说明书编号
	private String name2;//说明书名称
	private String infoPath;//说明书路径
 

	@Column(name="code",length=16)
	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	@Column(name="name",length=32)
	public String getName() {
		return name;
	}
	

	public void setName(String name) {
		this.name = name;
	}
	
	@Column(name="code2",length=16)
	public String getCode2() {
		return code2;
	}

	public void setCode2(String code2) {
		this.code2 = code2;
	}

	@Column(name="name2",length=32)
	public String getName2() {
		return name2;
	}

	public void setName2(String name2) {
		this.name2 = name2;
	}
	
	

	@Column(name="path",length=255)
	public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path;
	}

	@Column(name="info_path",length=255)
	public String getInfoPath() {
		return infoPath;
	}

	public void setInfoPath(String infoPath) {
		this.infoPath = infoPath;
	}

}
